//
//  UILabel+Extension.h
//  CSJExample
//
//  Created by ya on 12/7/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (Extension)

/**********************************************************((
 
 textAlignment default is center, numberOfLines default is 0.

**************************************************************/

/// Text
+ (instancetype)sj_createLabelWithText:(NSString *)text;

/// Text, FontSize
+ (instancetype)sj_createLabelWithText:(NSString *)text
                              fontSize:(CGFloat)fontSize
                                  blod:(BOOL)isBlod;

/// Text, FontSize, TextColor
+ (instancetype)sj_createLabelWithText:(NSString *)text
                              fontSize:(CGFloat)fontSize
                                  blod:(BOOL)isBlod
                             textColor:(UIColor *)textColor;

/// Text, FontSize, TextColor, backgroundColor
+ (instancetype)sj_createLabelWithText:(NSString *)text
                              fontSize:(CGFloat)fontSize
                                  blod:(BOOL)isBlod
                             textColor:(UIColor *)textColor
                       backgroundColor:(UIColor *)backgroundColor;

@end
